<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.10.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: PluginUtils</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<h1 class="unit">Unit PluginUtils</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#@Description">Description</a></td><td>uses</td><td>Classes, Interfaces, Objects and Records</td><td><a class="section"  href="#@FuncsProcs">Functions and Procedures</a></td><td>Types</td><td>Constants</td><td><a class="section"  href="#@Variables">Variables</a></td></tr></table>
<a name="@Description"></a><h2 class="description">Description</h2>
<p>
Implements useful routines for the plug-in handler or the plug-ins itself.</p>
<a name="@Uses"></a><h2 class="overview">Overview</h2>
<a name="@FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code>function <b><a   href="PluginUtils.html#GetVBuffer">GetVBuffer</a></b>(hFunc: <a   href="PluginConst.html#TFuncHandle">TFuncHandle</a>; IntL, IntR, StepSize: Double; out VBuffer: <a   href="PluginConst.html#PValueBuffer">PValueBuffer</a>): Cardinal;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>procedure <b><a   href="PluginUtils.html#FreeVBuffer">FreeVBuffer</a></b>(VBuffer: <a   href="PluginConst.html#PValueBuffer">PValueBuffer</a>);</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <b><a   href="PluginUtils.html#GetFuncInfo">GetFuncInfo</a></b>(hFunc: <a   href="PluginConst.html#TFuncHandle">TFuncHandle</a>; out FIBuff: <a   href="PluginConst.html#PFuncInfo">PFuncInfo</a>): Cardinal;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>procedure <b><a   href="PluginUtils.html#FreeFuncInfo">FreeFuncInfo</a></b>(FIBuff: <a   href="PluginConst.html#PFuncInfo">PFuncInfo</a>);</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>procedure <b><a   href="PluginUtils.html#FreeFuncParams">FreeFuncParams</a></b>(FPBuff: <a   href="PluginConst.html#PFuncParams">PFuncParams</a>; ParamCount: Cardinal);</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <b><a   href="PluginUtils.html#Translate">Translate</a></b>(ID: String; Default: String): String;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <b><a   href="PluginUtils.html#SendMsgText">SendMsgText</a></b>(Text: String): Integer;</code></td>
</tr>
</table>
<a name="@Variables"></a><h3 class="summary">Variables</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><b><a   href="PluginUtils.html#ServiceProc">ServiceProc</a></b>: <a   href="PluginConst.html#TStdProc">TStdProc</a>;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="PluginUtils.html#HInfo">HInfo</a></b>: <a   href="PluginConst.html#PHostAppInfo">PHostAppInfo</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Functions and Procedures</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="GetVBuffer"></a><code>function <b>GetVBuffer</b>(hFunc: <a   href="PluginConst.html#TFuncHandle">TFuncHandle</a>; IntL, IntR, StepSize: Double; out VBuffer: <a   href="PluginConst.html#PValueBuffer">PValueBuffer</a>): Cardinal;</code></td>
</tr>
<tr><td colspan="1">
<p>
GetVBuffer returns in a requested interval with a requested step size an array of function samples.

<p>hFunc: Indentifies function graph, set to hFuncCurrent for the graph of the active function tab. IntL, IntR: Interval in coordinate units, in which GetVBuffer() collects function samples. StepSize: Distance on X scale between neighbored samples in coordinate units VBuffer: Returned pointer to an double array with collected function samples

<p>Return value is the number of function samples of VBuffer</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="FreeVBuffer"></a><code>procedure <b>FreeVBuffer</b>(VBuffer: <a   href="PluginConst.html#PValueBuffer">PValueBuffer</a>);</code></td>
</tr>
<tr><td colspan="1">
<p>
FreeVBuffer frees an array with function sampled, which was earlier created by a GetVBuffer call.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="GetFuncInfo"></a><code>function <b>GetFuncInfo</b>(hFunc: <a   href="PluginConst.html#TFuncHandle">TFuncHandle</a>; out FIBuff: <a   href="PluginConst.html#PFuncInfo">PFuncInfo</a>): Cardinal;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="FreeFuncInfo"></a><code>procedure <b>FreeFuncInfo</b>(FIBuff: <a   href="PluginConst.html#PFuncInfo">PFuncInfo</a>);</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="FreeFuncParams"></a><code>procedure <b>FreeFuncParams</b>(FPBuff: <a   href="PluginConst.html#PFuncParams">PFuncParams</a>; ParamCount: Cardinal);</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="Translate"></a><code>function <b>Translate</b>(ID: String; Default: String): String;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="SendMsgText"></a><code>function <b>SendMsgText</b>(Text: String): Integer;</code></td>
</tr>
<tr><td colspan="1">
<p>
Request translation of a string. ID is the identifier in the language file. If the language file does not contain the requested translation, Default will be returned, otherwise the translated string will be returned.</p>
</td></tr>
</table>
<h3 class="detail">Variables</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="ServiceProc"></a><code><b>ServiceProc</b>: <a   href="PluginConst.html#TStdProc">TStdProc</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="HInfo"></a><code><b>HInfo</b>: <a   href="PluginConst.html#PHostAppInfo">PHostAppInfo</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.10.0</a> on 2007-09-13 21:24:25</em>
</span>
</body></html>
